package com.zzuli.yxypre.comment;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.DeleteMapping;

/**
 * @auther pony
 * @create 2022-12-03 19:44
 * 自定义异常类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomException extends RuntimeException{
    private Integer code;
    private String msg;
}
